package com.tiankun.eurekaadmin.service;


import com.tiankun.eurekaadmin.exception.CustomerException;
import com.tiankun.eurekaadmin.pojo.Admin;
import org.springframework.stereotype.Service;

/**
 * @author 伍炳清
 * @date 2020-10-16 14:50
 */
@Service("adminService")
public interface AdminService {

    void addAdmin(String phone,String password,String name)throws CustomerException;
    
    Admin login(String phone, String password)throws CustomerException;
    
    void  updatePassword(String phone, String newPassword)throws CustomerException;


}
